﻿using System;

namespace dPet.Domain.Specifications
{
	using dPet.Domain.Models;
	using Hangerd.Specification;

	public class InventoryReducingRecordSpecifications
	{
		public static Specification<InventoryReducingRecord> HospitalIdEquals(string hospitalId)
		{
			return new DirectSpecification<InventoryReducingRecord>(irr => irr.HospitalId == hospitalId);
		}

		public static Specification<InventoryReducingRecord> OrderNumberEquals(string orderNumber)
		{
			return new DirectSpecification<InventoryReducingRecord>(irr => irr.OrderNumber == orderNumber);
		}
	}
}
